package cn.edu.hust.sse.software7.class3.service;

import java.util.List;

import cn.edu.hust.sse.software7.class3.entities.EBAdmin;

public interface EBAdminService {

	boolean isInited();
	
	boolean isExistedAdmin(String adName);

	void addAdmin(EBAdmin admin);

	void deleteAdmin(EBAdmin admin);

	void deleteAllAdmin(List<EBAdmin> admins);

	void updateAdmin(EBAdmin admin);

	boolean validateAdmin(EBAdmin admin);

	List<EBAdmin> getAdmins();

	void deleteAdminById(Long adminId);

	EBAdmin getAdminById(Long adminId);
}
